package com.digitalchina.lxnsy.activity.old;

import android.webkit.WebView;

import com.digitalchina.lxnsy.R;
import com.digitalchina.lxnsy.base.BaseActivity;
import com.digitalchina.lxnsy.constant.URL;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.activity
 * 创建人：白彦东
 * 创建时间：2017/1/11 15:59
 * 修改备注：
 * ================================================
 */

public class ProductSummaryActivity extends BaseActivity {

    private WebView webView;
    private String summaryUrl;

    @Override
    public void setLayout() {
        setTitle("商品xx");
        setContentLayout(R.layout.activity_product_summary);
    }

    @Override
    public void initMember() {
        webView = (WebView) findViewById(R.id.web_view);
        if (getIntent().hasExtra("productId")) {
            summaryUrl = URL.URL_PRODUCT_SUMMARY_URL + getIntent().getSerializableExtra("productId") + "&renderType=pl_ercode";
            webView.loadUrl(summaryUrl);
        }
    }

    @Override
    public void addListener() {

    }

    @Override
    public void setHandler() {

    }

    @Override
    public void callBack(Object object) {

    }

    @Override
    public void rightOnClick() {

    }
}
